package study.dubbo.springboot.provider.service;

import lombok.extern.slf4j.Slf4j;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.stereotype.Service;
import study.rpc.dubbo.api.EchoService;

@Slf4j
@Service
@DubboService
public class EchoServiceImpl implements EchoService {

    @Override
    public String echo(String name) {
        log.info(">>>>>> echo echo echo {}", name);
        return String.format("[server]: echo echo echo %s", name);
    }
}
